package com.wise.entities.content;

import com.wise.framework.daoannotations.Column;
import com.wise.framework.daoannotations.Table;
import com.wise.framework.entitiesbasic.IdTimeEntity;

@Table("upload_file_parent")
public class FileParent extends IdTimeEntity {
    /**
     * 文件的名字
     */
    @Column("filename")
    private String fileName;
    public static final String _fileName = "filename";

    /**
     * 文件服务器的Url
     *//*
    @Column("fileUrl")
    private String fileUrl;
    public static final String _fileUrl="fileUrl";*/
    /**
     * 文件的类型 0-图片 1-视频  3-文件 4-幻灯片
     */
    @Column("fileType")
    private Integer fileType;
    public static final String _fileType = "fileType";
    /**
     * 图片的尺寸
     */
    @Column("picSize")
    private String picSize;
    public static final String _picSize = "picSize";
    /**
     * 视频的时长
     */
    @Column("videoSize")
    private String videoSize;
    public static final String _videoSize = "videoSize";
    /**
     * 文件的内存大小
     */
    @Column("fileSize")
    private String fileSize;
    public static final String _fileSize = "fileSize";
    /**
     * 分片的片数
     */
    @Column("total")
    private Integer total;
    public static final String _total = "total";
    /**
     * 文件的md5
     */
    @Column("fileMd5")
    private String fileMd5;
    public static final String _fileMd5 = "fileMd5";

    /**
     * 视频截图的Url
     */
    @Column("screenUrl")
    private String screenUrl;
    public static final String _screenUrl = "screenUrl";
    /**
     * 标识文件是否上传完毕 0-上传完毕 1-未上传完毕
     */
    @Column("sign")
    private Integer sign;
    public static final String _sign = "sign";

    String url;

    /**
     * 功能描述: 幻灯片缓存字段
     */

    private String slideDate;

    public String getSlideDate() {
        return slideDate;
    }

    public void setSlideDate(String slideDate) {
        this.slideDate = slideDate;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public static String get_fileName() {
        return _fileName;
    }

//    public String getFileUrl() {
//        return fileUrl;
//    }
//
//    public void setFileUrl(String fileUrl) {
//        this.fileUrl = fileUrl;
//    }
//
//    public static String get_fileUrl() {
//        return _fileUrl;
//    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public static String get_fileType() {
        return _fileType;
    }

    public String getPicSize() {
        return picSize;
    }

    public void setPicSize(String picSize) {
        this.picSize = picSize;
    }

    public static String get_picSize() {
        return _picSize;
    }

    public String getVideoSize() {
        return videoSize;
    }

    public void setVideoSize(String videoSize) {
        this.videoSize = videoSize;
    }

    public static String get_videoSize() {
        return _videoSize;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public static String get_fileSize() {
        return _fileSize;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public static String get_total() {
        return _total;
    }

    public String getFileMd5() {
        return fileMd5;
    }

    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
    }

    public static String get_fileMd5() {
        return _fileMd5;
    }

    public String getScreenUrl() {
        return screenUrl;
    }

    public void setScreenUrl(String screenUrl) {
        this.screenUrl = screenUrl;
    }

    public static String get_screenUrl() {
        return _screenUrl;
    }

    public Integer getSign() {
        return sign;
    }

    public void setSign(Integer sign) {
        this.sign = sign;
    }

    public static String get_sign() {
        return _sign;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
